<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Product extends Model
{
    protected $table = 'products';

    protected $primaryKey = 'id';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */

    protected $visible = [ 'id','type_id', 'name', 'user_id', 'price_discount','price_original', 'desc', 'type', 'created_at', 'updated_at','show_order'];

    /**
     * The attributes excluded from the model's JSON form.
     *
     * @var array
     */

}
